½Ŀ¼:

5.2. (proxy)
   5.2.1. ȡб
   5.2.2. Ⱥ
   5.2.3. Ӵ
   5.2.4. ޸Ĵ
   5.2.5. ɾ
   5.2.6. /ͣ
   5.2.7. ȫ
   
5.2. (proxy):
     
     ͼ(һ Fikker ɶӦ, ÿһɶӦԴվ):
     ===================================================================
     
     +----------+---+-------------------------------------------------------------------+
     +----------+---+-------------------------------------------------------------------+
     |          |   |                                   +---------------+               |
     |          |   |                                   |    Դվ 1     |               |
     |          |   |                          +------> | 21.66.5.11:81 |               |
     |          |   |                          |        +---------------+               |
     |          |   |   +---------------+ <----+                                      |
     |          | 1 |   |    1  |             +---------------+               |
     |          |   |   | www1.host.com | <-----------> |    Դվ 2     |               |
     |          |   |   +---------------+ <----+      | 21.66.5.12:81 |               |
     |          |   |                          |      +---------------+               |
     |          |   |                          |                                        |
     |          |   |                          |        +---------------+               |
     |          |   |                          +------> |    Դվ 3     |               |
     |          |   |                                   | 21.66.5.13:81 |               |
     |          |   |                                   +---------------+               |
     |          +---+-------------------------------------------------------------------+
     |          +---+-------------------------------------------------------------------+
     |          |   |                                   +---------------+               |
     |          |   |                                   |    Դվ 4     |               |
     |          |   |                          +------> | 21.66.5.21:81 |               |
     |          |   |                          |        +---------------+               |
     |          |   |   +---------------+ <----+                                      |
     |  Fikker  | 2 |   |    2  |             +---------------+               |
     |          |   |   | news.host.com | <-----------> |    Դվ 5     |               |
     |          |   |   +---------------+ <----+      | 21.66.5.22:81 |               |
     |          |   |                          |      +---------------+               |
     |          |   |                          |                                        |
     |          |   |                          |        +---------------+               |
     |          |   |                          +------> |    Դվ 6     |               |
     |          |   |                                   | 21.66.5.23:81 |               |
     |          |   |                                   +---------------+               |
     |          +---+-------------------------------------------------------------------+
     |          +---+-------------------------------------------------------------------+
     |          |   |                                   +---------------+               |
     |          |   |                                   |    Դվ 7     |               |
     |          |   |                          +------> | 21.66.5.31:81 |               |
     |          |   |                          |        +---------------+               |
     |          |   |   +---------------+ <----+                                      |
     |          | 3 |   |    3  |             +---------------+               |
     |          |   |   | tech.host.com | <-----------> |    Դվ 8     |               |
     |          |   |   +---------------+ <----+      | 21.66.5.32:81 |               |
     |          |   |                          |      +---------------+               |
     |          |   |                          |                                        |
     |          |   |                          |        +---------------+               |
     |          |   |                          +------> |    Դվ 9     |               |
     |          |   |                                   | 21.66.5.33:81 |               |
     |          |   |                                   +---------------+               |
     +----------+---+-------------------------------------------------------------------+
     +----------+---+-------------------------------------------------------------------+
     
     ˵:
     (1). һ Fikker Ӷ;
     (2). һ  ӦԴվ, Դվ֮ؾ;
     (3). Fikker , ûշַһԴվ;
     
5.2.1. ȡб:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=list
     
     c.  URL :
        
        SessionID - ¼Ự ID;
        <IncludeCrt> - ѡ, Ƿ SSL ֤Ϣ: (0), (1), Ĭ(0);
        <IncludeStat> - ѡ, ǷͳϢ: (0), (1), Ĭ(1);
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        NumOfLists:
        б, бж;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        ProxyID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        Host:
         IP ַ;
        
        SSLOpt:
        SSL ȫѡ, ֧HTTP(0), ֧HTTPS(1), ͬʱ֧HTTP+HTTPS(2)
        
        SSLCrtContent:
        SSL ֤, ֤Ϊͨ PEM ʽ, Ϊʾַ.
        
        SSLKeyContent:
        SSL ˽Կ, ˽ԿΪͨ PEM ʽ, Ϊʾַ.
        
        SSLExtraParams:
        SSL ѡ, Ϊʾַ.
        
        Balance:
        Դվ֮为ؾ, ѯ(0), IPַϣ(1), URLַϣ(2);
        
        Enable:
        ǰ/ͣ״̬, (1), ͣ(0);
        
        StartTime:
        ʵʱͳ - ͳƿʼʱ;
        
        EndTime:
        ʵʱͳ - ͳƽʱ;
        
        CurrentTickCount:
        Чڵĺ(ms);
        
        RequestCount:
        ʵʱͳ - û;
        
        UploadCount:
        ʵʱͳ - ûϴ(λ: ֽ);
        
        DownloadCount:
        ʵʱͳ - û(λ: ֽ);
        
        IpCount:
        ʵʱͳ - û IP ;
        
        UserConnections:
        ǰû;
        
        UpstreamConnections:
        ǰԴվ;
        
        Note:
        ע˵,  500 ֽ;
        
5.2.2. ѯ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=query
     
     c.  URL :
        
        ProxyID - ʶ ID;
        SessionID - ¼Ự ID;
        <IncludeCrt> - ѡ, Ƿ SSL ֤Ϣ: (0), (1), Ĭ(1);
        <IncludeStat> - ѡ, ǷͳϢ: (0), (1), Ĭ(1);
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        NumOfLists:
         1, Ϊ 0;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        ProxyID:
        ʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        Host:
         IP ַ;
        
        SSLOpt:
        SSL ȫѡ, ֧HTTP(0), ֧HTTPS(1), ͬʱ֧HTTP+HTTPS(2)
        
        SSLCrtContent:
        SSL ֤, ֤Ϊͨ PEM ʽ, Ϊʾַ.
        
        SSLKeyContent:
        SSL ˽Կ, ˽ԿΪͨ PEM ʽ, Ϊʾַ.
        
        SSLExtraParams:
        SSL ѡ, Ϊʾַ.
        
        Balance:
        Դվ֮为ؾ, ѯ(0), IPַϣ(1), URLַϣ(2);
        
        Enable:
        ǰ/ͣ״̬, (1), ͣ(0);
        
        StartTime:
        ʵʱͳ - ͳƿʼʱ;
        
        EndTime:
        ʵʱͳ - ͳƽʱ;
        
        CurrentTickCount:
        Чڵĺ(ms);
        
        RequestCount:
        ʵʱͳ - û;
        
        UploadCount:
        ʵʱͳ - ûϴ(λ: ֽ);
        
        DownloadCount:
        ʵʱͳ - û(λ: ֽ);
        
        IpCount:
        ʵʱͳ - û IP ;
        
        UserConnections:
        ǰû;
        
        UpstreamConnections:
        ǰԴվ;
        
        Note:
        ע˵,  500 ֽ;
     
5.2.3. Ӵ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=add
     
     c.  URL :
        
        Host -  IP ַ,  200 ֽ;
        SSLOpt - SSL ȫѡ, ֧HTTP(0), ֧HTTPS(1), ͬʱ֧HTTP+HTTPS(2)
        SSLCrtContent - SSL ֤, ֤Ϊͨ PEM ʽ, Ϊʾַ.
        SSLKeyContent - SSL ˽Կ, ˽ԿΪͨ PEM ʽ, Ϊʾַ.
        SSLExtraParams - SSL ѡ, Ϊʾַ.
        Balance - Դվ֮为ؾ, ѯ(0), IPַϣ(1), URLַϣ(2), Ĭ(0);
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProxyID:
        ӵĴʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

5.2.4. ޸Ĵ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=modify
     
     c.  URL :
        
        ProxyID - ʶ ID;
        Host -  IP ַ,  200 ֽ;
        SSLOpt - SSL ȫѡ, ֧HTTP(0), ֧HTTPS(1), ͬʱ֧HTTP+HTTPS(2)
        SSLCrtContent - SSL ֤, ֤Ϊͨ PEM ʽ, Ϊʾַ.
        SSLKeyContent - SSL ˽Կ, ˽ԿΪͨ PEM ʽ, Ϊʾַ.
        SSLExtraParams - SSL ѡ, Ϊʾַ.
        Balance - ӦԴվʱؾ, ѯ(0), IP ַϣ(1), URLַϣ(2);
        Note - ע˵,  500 ֽ;
        <Enable> - ѡ, (1), ͣ(0);
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProxyID:
        ޸ĵĴʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

5.2.5. ɾ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=del
     
     c.  URL :
        
        ProxyID - ʶ ID;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProxyID:
        ɾĴʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

5.2.6. /ͣ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=enable
     
     c.  URL :
        
        ProxyID - ʶ ID;
        Enable - (1), ͣ(0);
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ProxyID:
        ޸ĵĴʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

5.2.7. ȫ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=proxy&cmd=clean
     
     c.  URL :
        
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
